package com.sleepfish.web.core.config;

import com.github.alenfive.rocketapi.entity.ApiExample;
import com.github.alenfive.rocketapi.entity.ApiInfo;
import com.github.alenfive.rocketapi.entity.vo.DocsInfo;
import com.github.alenfive.rocketapi.extend.IApiDocSync;
import org.springframework.stereotype.Component;

/**
 * 默认API信息接口同步，
 */
@Component
public class DefaultApiDocSync implements IApiDocSync {

    @Override
    public String sync(DocsInfo docsInfo) {
        return docsInfo.toString();
    }
}